<div class="activities view">
<h2><?php echo __('Activity'); ?></h2>
	<dl>
		<dt><?php echo __('Id'); ?></dt>
		<dd>
			<?php echo h($activity['Activity']['id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Supplier'); ?></dt>
		<dd>
			<?php echo $this->Html->link($activity['Supplier']['id'], array('controller' => 'suppliers', 'action' => 'view', $activity['Supplier']['id'])); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Sub Category'); ?></dt>
		<dd>
			<?php echo $this->Html->link($activity['SubCategory']['id'], array('controller' => 'sub_categories', 'action' => 'view', $activity['SubCategory']['id'])); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Desc'); ?></dt>
		<dd>
			<?php echo h($activity['Activity']['desc']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Ndays'); ?></dt>
		<dd>
			<?php echo h($activity['Activity']['ndays']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Nnights'); ?></dt>
		<dd>
			<?php echo h($activity['Activity']['nnights']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Adult Price'); ?></dt>
		<dd>
			<?php echo h($activity['Activity']['adult_price']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Child Price'); ?></dt>
		<dd>
			<?php echo h($activity['Activity']['child_price']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Details'); ?></dt>
		<dd>
			<?php echo h($activity['Activity']['details']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Pickup Point'); ?></dt>
		<dd>
			<?php echo h($activity['Activity']['pickup_point']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Nhours'); ?></dt>
		<dd>
			<?php echo h($activity['Activity']['nhours']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Lastviewed'); ?></dt>
		<dd>
			<?php echo h($activity['Activity']['lastviewed']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Available'); ?></dt>
		<dd>
			<?php echo h($activity['Activity']['available']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Rate'); ?></dt>
		<dd>
			<?php echo h($activity['Activity']['rate']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Ending'); ?></dt>
		<dd>
			<?php echo h($activity['Activity']['ending']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Created'); ?></dt>
		<dd>
			<?php echo h($activity['Activity']['created']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Updated'); ?></dt>
		<dd>
			<?php echo h($activity['Activity']['updated']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Deleted'); ?></dt>
		<dd>
			<?php echo h($activity['Activity']['deleted']); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Activity'), array('action' => 'edit', $activity['Activity']['id'])); ?> </li>
		<li><?php echo $this->Form->postLink(__('Delete Activity'), array('action' => 'delete', $activity['Activity']['id']), null, __('Are you sure you want to delete # %s?', $activity['Activity']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Activities'), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Activity'), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Suppliers'), array('controller' => 'suppliers', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Supplier'), array('controller' => 'suppliers', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Sub Categories'), array('controller' => 'sub_categories', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Sub Category'), array('controller' => 'sub_categories', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Bookings'), array('controller' => 'bookings', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Booking'), array('controller' => 'bookings', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Days'), array('controller' => 'days', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Day'), array('controller' => 'days', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Messags'), array('controller' => 'messags', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Messag'), array('controller' => 'messags', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Pictures'), array('controller' => 'pictures', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Picture'), array('controller' => 'pictures', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Reviews'), array('controller' => 'reviews', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Review'), array('controller' => 'reviews', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Highlights'), array('controller' => 'highlights', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Highlight'), array('controller' => 'highlights', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Incluses'), array('controller' => 'incluses', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Inclus'), array('controller' => 'incluses', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Languages'), array('controller' => 'languages', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Language'), array('controller' => 'languages', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Nincludes'), array('controller' => 'nincludes', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Ninclude'), array('controller' => 'nincludes', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Places'), array('controller' => 'places', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Place'), array('controller' => 'places', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php echo __('Related Bookings'); ?></h3>
	<?php if (!empty($activity['Booking'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Activity Id'); ?></th>
		<th><?php echo __('User Id'); ?></th>
		<th><?php echo __('Date Booking'); ?></th>
		<th><?php echo __('Number Pers'); ?></th>
		<th><?php echo __('Number Kids'); ?></th>
		<th><?php echo __('Deposit'); ?></th>
		<th><?php echo __('Total Price'); ?></th>
		<th><?php echo __('Id Transaction'); ?></th>
		<th><?php echo __('Transaction Valide'); ?></th>
		<th><?php echo __('Confirmation'); ?></th>
		<th><?php echo __('Created'); ?></th>
		<th><?php echo __('Updated'); ?></th>
		<th><?php echo __('Deleted'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($activity['Booking'] as $booking): ?>
		<tr>
			<td><?php echo $booking['id']; ?></td>
			<td><?php echo $booking['activity_id']; ?></td>
			<td><?php echo $booking['user_id']; ?></td>
			<td><?php echo $booking['date_booking']; ?></td>
			<td><?php echo $booking['number_pers']; ?></td>
			<td><?php echo $booking['number_kids']; ?></td>
			<td><?php echo $booking['deposit']; ?></td>
			<td><?php echo $booking['total_price']; ?></td>
			<td><?php echo $booking['id_transaction']; ?></td>
			<td><?php echo $booking['transaction_valide']; ?></td>
			<td><?php echo $booking['confirmation']; ?></td>
			<td><?php echo $booking['created']; ?></td>
			<td><?php echo $booking['updated']; ?></td>
			<td><?php echo $booking['deleted']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'bookings', 'action' => 'view', $booking['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'bookings', 'action' => 'edit', $booking['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'bookings', 'action' => 'delete', $booking['id']), null, __('Are you sure you want to delete # %s?', $booking['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Booking'), array('controller' => 'bookings', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php echo __('Related Days'); ?></h3>
	<?php if (!empty($activity['Day'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Activity Id'); ?></th>
		<th><?php echo __('Title'); ?></th>
		<th><?php echo __('Num Day'); ?></th>
		<th><?php echo __('Desc'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($activity['Day'] as $day): ?>
		<tr>
			<td><?php echo $day['id']; ?></td>
			<td><?php echo $day['activity_id']; ?></td>
			<td><?php echo $day['title']; ?></td>
			<td><?php echo $day['num_day']; ?></td>
			<td><?php echo $day['desc']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'days', 'action' => 'view', $day['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'days', 'action' => 'edit', $day['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'days', 'action' => 'delete', $day['id']), null, __('Are you sure you want to delete # %s?', $day['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Day'), array('controller' => 'days', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php echo __('Related Messags'); ?></h3>
	<?php if (!empty($activity['Messag'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('User Id'); ?></th>
		<th><?php echo __('Activity Id'); ?></th>
		<th><?php echo __('Messag Id'); ?></th>
		<th><?php echo __('Subject'); ?></th>
		<th><?php echo __('Message'); ?></th>
		<th><?php echo __('Created'); ?></th>
		<th><?php echo __('Opened'); ?></th>
		<th><?php echo __('Deleted'); ?></th>
		<th><?php echo __('Updated'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($activity['Messag'] as $messag): ?>
		<tr>
			<td><?php echo $messag['id']; ?></td>
			<td><?php echo $messag['user_id']; ?></td>
			<td><?php echo $messag['activity_id']; ?></td>
			<td><?php echo $messag['messag_id']; ?></td>
			<td><?php echo $messag['subject']; ?></td>
			<td><?php echo $messag['message']; ?></td>
			<td><?php echo $messag['created']; ?></td>
			<td><?php echo $messag['opened']; ?></td>
			<td><?php echo $messag['deleted']; ?></td>
			<td><?php echo $messag['updated']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'messags', 'action' => 'view', $messag['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'messags', 'action' => 'edit', $messag['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'messags', 'action' => 'delete', $messag['id']), null, __('Are you sure you want to delete # %s?', $messag['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Messag'), array('controller' => 'messags', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php echo __('Related Pictures'); ?></h3>
	<?php if (!empty($activity['Picture'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Path'); ?></th>
		<th><?php echo __('Filename'); ?></th>
		<th><?php echo __('Title'); ?></th>
		<th><?php echo __('Size'); ?></th>
		<th><?php echo __('Activity Id'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($activity['Picture'] as $picture): ?>
		<tr>
			<td><?php echo $picture['id']; ?></td>
			<td><?php echo $picture['path']; ?></td>
			<td><?php echo $picture['filename']; ?></td>
			<td><?php echo $picture['title']; ?></td>
			<td><?php echo $picture['size']; ?></td>
			<td><?php echo $picture['activity_id']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'pictures', 'action' => 'view', $picture['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'pictures', 'action' => 'edit', $picture['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'pictures', 'action' => 'delete', $picture['id']), null, __('Are you sure you want to delete # %s?', $picture['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Picture'), array('controller' => 'pictures', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php echo __('Related Reviews'); ?></h3>
	<?php if (!empty($activity['Review'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Activity Id'); ?></th>
		<th><?php echo __('User Id'); ?></th>
		<th><?php echo __('Title'); ?></th>
		<th><?php echo __('Desc'); ?></th>
		<th><?php echo __('Rate'); ?></th>
		<th><?php echo __('Created'); ?></th>
		<th><?php echo __('Updated'); ?></th>
		<th><?php echo __('Deleted'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($activity['Review'] as $review): ?>
		<tr>
			<td><?php echo $review['id']; ?></td>
			<td><?php echo $review['activity_id']; ?></td>
			<td><?php echo $review['user_id']; ?></td>
			<td><?php echo $review['title']; ?></td>
			<td><?php echo $review['desc']; ?></td>
			<td><?php echo $review['rate']; ?></td>
			<td><?php echo $review['created']; ?></td>
			<td><?php echo $review['updated']; ?></td>
			<td><?php echo $review['deleted']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'reviews', 'action' => 'view', $review['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'reviews', 'action' => 'edit', $review['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'reviews', 'action' => 'delete', $review['id']), null, __('Are you sure you want to delete # %s?', $review['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Review'), array('controller' => 'reviews', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php echo __('Related Highlights'); ?></h3>
	<?php if (!empty($activity['Highlight'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Label'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($activity['Highlight'] as $highlight): ?>
		<tr>
			<td><?php echo $highlight['id']; ?></td>
			<td><?php echo $highlight['label']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'highlights', 'action' => 'view', $highlight['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'highlights', 'action' => 'edit', $highlight['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'highlights', 'action' => 'delete', $highlight['id']), null, __('Are you sure you want to delete # %s?', $highlight['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Highlight'), array('controller' => 'highlights', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php echo __('Related Incluses'); ?></h3>
	<?php if (!empty($activity['Inclus'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Label'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($activity['Inclus'] as $inclus): ?>
		<tr>
			<td><?php echo $inclus['id']; ?></td>
			<td><?php echo $inclus['label']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'incluses', 'action' => 'view', $inclus['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'incluses', 'action' => 'edit', $inclus['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'incluses', 'action' => 'delete', $inclus['id']), null, __('Are you sure you want to delete # %s?', $inclus['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Inclus'), array('controller' => 'incluses', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php echo __('Related Languages'); ?></h3>
	<?php if (!empty($activity['Language'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Label'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($activity['Language'] as $language): ?>
		<tr>
			<td><?php echo $language['id']; ?></td>
			<td><?php echo $language['label']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'languages', 'action' => 'view', $language['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'languages', 'action' => 'edit', $language['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'languages', 'action' => 'delete', $language['id']), null, __('Are you sure you want to delete # %s?', $language['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Language'), array('controller' => 'languages', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php echo __('Related Nincludes'); ?></h3>
	<?php if (!empty($activity['Ninclude'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Label'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($activity['Ninclude'] as $ninclude): ?>
		<tr>
			<td><?php echo $ninclude['id']; ?></td>
			<td><?php echo $ninclude['label']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'nincludes', 'action' => 'view', $ninclude['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'nincludes', 'action' => 'edit', $ninclude['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'nincludes', 'action' => 'delete', $ninclude['id']), null, __('Are you sure you want to delete # %s?', $ninclude['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Ninclude'), array('controller' => 'nincludes', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php echo __('Related Places'); ?></h3>
	<?php if (!empty($activity['Place'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Label'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($activity['Place'] as $place): ?>
		<tr>
			<td><?php echo $place['id']; ?></td>
			<td><?php echo $place['label']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'places', 'action' => 'view', $place['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'places', 'action' => 'edit', $place['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'places', 'action' => 'delete', $place['id']), null, __('Are you sure you want to delete # %s?', $place['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Place'), array('controller' => 'places', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
